package com.sunfeng.chap5.selectkey;


import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

public class Test302 {
    public static void main(String[] args) throws IOException {
        Socket socket = new Socket("localhost", 7777);
        OutputStream outputStream = socket.getOutputStream();
        outputStream.write("我是浮华大魔王".getBytes());
        socket.close();
    }
}
